//根据字符是否可为空，做不同的判断
function checkValue(obj, regular, displayInfo, emptyType) {
    if (emptyType) {
        if ($(obj).val().trim()) {
            regularCheck(obj, regular, displayInfo);
        } else {
            $(obj).next('span').removeClass('myRed myGreen glyphicon glyphicon-ok').addClass('myGray').html(displayInfo);
        }
    } else {
        regularCheck(obj, regular, displayInfo);
    }
}

$(function(){
    /*左侧边栏点击事件*/
    $(".sBox li").click(function () {
        $(this).addClass('active');
    });
});